package com.cn.mmd.mapper;

import com.cn.mmd.model.Information;
import com.cn.mmd.model.Schoolwork;
import com.cn.mmd.model.SchoolworkExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SchoolworkMapper {
    int countByExample(SchoolworkExample example);

    int deleteByExample(SchoolworkExample example);

    int deleteByPrimaryKey(Integer schoolworkid);

    int insert(Schoolwork record);

    int insertSelective(Schoolwork record);

    List<Schoolwork> selectByExample(SchoolworkExample example);

    Schoolwork selectByPrimaryKey(Integer schoolworkid);

    int updateByExampleSelective(@Param("record") Schoolwork record, @Param("example") SchoolworkExample example);

    int updateByExample(@Param("record") Schoolwork record, @Param("example") SchoolworkExample example);

    int updateByPrimaryKeySelective(Schoolwork record);

    int updateByPrimaryKey(Schoolwork record);

    Schoolwork selectByAll(Schoolwork schoolwork);

    List<Schoolwork> selectAll(Schoolwork schoolwork);

    List<Schoolwork> selectAlls(Schoolwork schoolwork);

    int countLimitNum(Schoolwork schoolwork);

}